package com.guigui.gulimall.product.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.guigui.common.utils.PageUtils;
import com.guigui.gulimall.product.entity.CategoryBrandRelationEntity;

import java.util.List;
import java.util.Map;

/**
 * 品牌分类关联
 *
 * @author xin
 * @email 806748502@qq.com
 * @date 2021-07-23 14:10:33
 */
public interface CategoryBrandRelationService extends IService<CategoryBrandRelationEntity> {

    PageUtils queryPage(Map<String, Object> params);

    void saveDetail(CategoryBrandRelationEntity categoryBrandRelation);

    /**
     * 获取品牌关联关系
     * @param catId 分类id
     * @return
     */
    List<CategoryBrandRelationEntity> getCategoryBrandRelation(Long catId);
}

